<template>
  <div class="loading">
    <div>
      <i></i>
      <i></i>
      <i></i>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.loading {
  margin-left: 20px;
  div {
    width: 20px;
    display: flex;
    justify-content: space-between;
    i {
      display: inline-block;
      width: 4px;
      height: 20px;
      margin-right: 1px;
      background-color: rgba(245, 241, 42);
      transform-origin: bottom;
      animation: loading 0.5s linear 0s infinite;
      &:nth-of-type(2) {
        animation-delay: -0.2s;
      }
      &:nth-of-type(3) {
        animation-delay: -0.6s;
      }
    }
  }
}
@keyframes loading {
  0% {
    transform: scaleY(0.4);
  }
  100% {
    transform: scaleY(1.2);
  }
}
</style>



    







